package com.sc.nft.entity.vo.tradingPool;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.TradingPoolTransactionTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 刘国航
 * @desc
 * @since 2024/10/30 13:42
 */
@Data
public class TradingPoolOrderPageVO implements Serializable {

    private static final long serialVersionUID = -3423593395590665424L;

    @ApiModelProperty("品牌id")
    private Long daoId;

    @ApiModelProperty("品牌名称")
    private String daoName;

    @ApiModelProperty("藏品id")
    private Long collectionId;

    @ApiModelProperty("藏品名称")
    private String collectionName;

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("交易类型")
    private TradingPoolTransactionTypeEnum transactionType;

    @ApiModelProperty("交易类型名称")
    private String transactionTypeName;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("用户手机号")
    private String userTel;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("成交金额")
    private BigDecimal price;

    @ApiModelProperty("手续费")
    private BigDecimal charge;

    @ApiModelProperty("上链费")
    private BigDecimal gas;

    @ApiModelProperty("支付时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

}
